[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
TIME
. Summary
time(int <timeval>, str <buffer>);
. Description
The time function writes out a time in <buffer> in the form
hh:mm:ss, with hh being the hour in either 12 or 24 hour format
based on _time_format_format). <timeval> is the time, represented as the
number of seconds since midnight. Time values in this form are re-
turned by the curtime and filetime functions, among others.
. Return Value
None.
. Example
str s[16];
printsc("The current time is ");
time(curtime(), s);
prints(s);
See Also:
_time_format
date
curtime
filetime
tday
thour
tmin
tmonth
tsec
tyear
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson